package com.lyw.GeoLocationClient.json.em;

import com.lyw.GeoLocationClient.App;

public class TokenRequestBody {

    /**
     * grant_type : client_credentials
     * client_secret : {app的client_secret}
     * client_id : {app的client_id}
     */
    private String grant_type;
    private String client_secret;
    private String client_id;

    public TokenRequestBody() {
        this.grant_type = "client_credentials";
        this.client_secret = App.HX_CLIENT_SECRET;
        this.client_id = App.HX_CLIENT_ID;
    }

    public void setGrant_type(String grant_type) {
        this.grant_type = grant_type;
    }

    public void setClient_secret(String client_secret) {
        this.client_secret = client_secret;
    }

    public void setClient_id(String client_id) {
        this.client_id = client_id;
    }

    public String getGrant_type() {
        return grant_type;
    }

    public String getClient_secret() {
        return client_secret;
    }

    public String getClient_id() {
        return client_id;
    }
}
